package com.lphj.datainterface.component.Config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "config")
@PropertySource(value = "classpath:/config/config.properties")
public class ReadConfig {
    private int thread;
    private String s0_xdrq;
    private String s0_ddh;
    private String s0_shid;
    private String s0_ckrq;
    private String s1_ddh;
    private String s1_spuid;
    private String s1_ssdw;
    private String s1_xds;
    private String s1_dj;
    private String sl_spec;

    public int getThread() {
        return thread;
    }

    public void setThread(int thread) {
        this.thread = thread;
    }

    public String getS0_xdrq() {
        return s0_xdrq;
    }

    public void setS0_xdrq(String s0_xdrq) {
        this.s0_xdrq = s0_xdrq;
    }

    public String getS0_ddh() {
        return s0_ddh;
    }

    public void setS0_ddh(String s0_ddh) {
        this.s0_ddh = s0_ddh;
    }

    public String getS0_shid() {
        return s0_shid;
    }

    public void setS0_shid(String s0_shid) {
        this.s0_shid = s0_shid;
    }

    public String getS0_ckrq() {
        return s0_ckrq;
    }

    public void setS0_ckrq(String s0_ckrq) {
        this.s0_ckrq = s0_ckrq;
    }

    public String getS1_ddh() {
        return s1_ddh;
    }

    public void setS1_ddh(String s1_ddh) {
        this.s1_ddh = s1_ddh;
    }

    public String getS1_spuid() {
        return s1_spuid;
    }

    public void setS1_spuid(String s1_spuid) {
        this.s1_spuid = s1_spuid;
    }

    public String getS1_ssdw() {
        return s1_ssdw;
    }

    public void setS1_ssdw(String s1_ssdw) {
        this.s1_ssdw = s1_ssdw;
    }

    public String getS1_xds() {
        return s1_xds;
    }

    public void setS1_xds(String s1_xds) {
        this.s1_xds = s1_xds;
    }

    public String getS1_dj() {
        return s1_dj;
    }

    public void setS1_dj(String s1_dj) {
        this.s1_dj = s1_dj;
    }

    public String getSl_spec() {
        return sl_spec;
    }

    public void setSl_spec(String sl_spec) {
        this.sl_spec = sl_spec;
    }
}
